package sjtu.ist.warehouse4ws.dao;

import java.util.List;

import sjtu.ist.warehouse4ws.model.Department;

public interface DepartmentDao {
	public List<Department> findDepartment();

	public List<Department> findCompany();
	
	public List<Department> findCompanyByGroupAndVersion(String groupId,String versionId);
	
	public Department findById(String id);
	
    public void save(List<Department> DeptList);//newly added by Jackie
	
	public List findDepartmentById(String id);
	
	public List findDepartmentByGroupId(int groupId);

	public List findDepartmentByFileId(String fileId);
	
	public List findDepartmentByGroupAndVersion(String groupId,String versionId);
}
